<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>个债客户历史数据抽取到企债</title>
    <script src="webjars/jquery/3.2.1/dist/jquery.min.js"></script>
</head>
<body>
    <div>
        <h3 id="msg">个债客户历史数据抽取到企债</h3>
    </div>
    <div>
        <input id="convertBtn" type="button" value="抽取到企债">
    </div>
</body>
<script>
    $(function () {
        $("#convertBtn").on("click", function () {
           $.post("/convey", {}, function (data) {
               $("#msg").text(data.msg);
               alert(data.msg);
           }, "json");
        });
    })
</script>
</html>